package org.xg.study.pd;

import com.alibaba.fastjson.JSONObject;
import org.xg.study.pd.mq.CreateAccount;

/**
 * @author CMG
 * @version 1.0
 * @cLassName CreateAccountMQService
 * @description
 * @date 2021/9/14 10:38
 **/
public class CreateAccountMQService {
    public void onMessage(String message){
        CreateAccount mq = JSONObject.parseObject(message, CreateAccount.class);
        mq.getNumber();
        mq.getAccountDate();
        //TODO 处理业务
    }
}
